<template>
  <el-dialog
    title="检测报告"
    :visible.sync="visible"
    width="60%"
    :before-close="handleClose"
  >
    <div class="context">
      <div class="content-item">
        <span class="s1">检测地址：</span><span>0x</span>
      </div>

      <div class="content-item">
        <span class="s1">检测时间: </span><span>xxxx/xx/xx</span>
      </div>

      <div class="content-item">
        <span class="s1">检测结果: </span><span>钓鱼节点</span>
      </div>
    </div>

    <span slot="footer" class="dialog-footer">
      <el-button @click="handleClose">取 消</el-button>
      <el-button type="primary" @click="handleClose">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: {
    visible: {
      type: Boolean,
      default: false,
    },
  },
  methods: {
    handleClose() {
      this.$emit("update:visible", false);
    },
  },
};
</script>

<style>
.context {
  /* display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100px; */
}
.content-item {
  padding-bottom: 50px;
}
.context .s1 {
  font-size: 30px;
  font-weight: 300;
}
</style>